package com.ftg.learn.config;

import org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author kangjx
 * @createTime 2022/9/13
 */
@Configuration
public class BaseConfig {

    @Bean
    public RestTemplate initRestTemplate(){
        return new RestTemplate();
    }

}
